package com.dehui.traders.ui.activity;

import com.dehui.traders.BR;
import com.dehui.traders.R;
import com.dehui.traders.databinding.ActivityLoginBinding;
import com.dehui.traders.ui.viewmodle.LoginViewModel;

import me.goldze.mvvmhabit.base.BaseActivity;
/**
 * Created by hqq on 18.4.4.
 */

public class LoginActivity extends BaseActivity<ActivityLoginBinding,LoginViewModel>{

    @Override
    public int initContentView() {
        return R.layout.activity_login;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public LoginViewModel initViewModel() {
        return new LoginViewModel(this);
    }


}
